package org.dtrd.modules.flup.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.flup.entity.po.DtrdRlFlupProjectRecord;
import java.util.Date;

/**
 * <p>
 * 患者复诊项目检测数据
 * </p>
 *
 * @author QR
 * @since 2021-12-23
 */
@Getter
@Setter
@ApiModel(value = "患者复诊项目检测数据详情")
public class FlupProjectRecordDetail {

    private Integer dataId;

    @ApiModelProperty("复诊预约id")
    private Integer flupAppointmentId;

    @ApiModelProperty("模版id")
    private Integer templateId;

    @ApiModelProperty("复诊项目id")
    private Integer projectId;

    @ApiModelProperty("复诊项目数据")
    private String projectData;

    @ApiModelProperty("复诊项目建议")
    private String projectSuggest;

    @ApiModelProperty("操作员")
    private String operator;



    public FlupProjectRecordDetail parseFromPo(DtrdRlFlupProjectRecord po) {
        dataId = po.getDataId();
        flupAppointmentId = po.getFlupAppointmentId();
        templateId = po.getTemplateId();
        projectId = po.getProjectId();
        projectData = po.getProjectData();
        projectSuggest = po.getProjectSuggest();
        operator = po.getOperator();
        return this;
    }
}
